home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / libblas / her2.z / her2
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  105 lines

  1. HER2(3F)                                              Last changed: 11-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      CCHHEERR22, ZZHHEERR22 - Performs Hermitian rank 2 update of a complex Hermitian
  6.      matrix
  7.  
  8. SSYYNNOOPPSSIISS
  9.      Complex
  10.  
  11.         CCAALLLL CCHHEERR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a,, _l_d_a))
  12.  
  13.      Double complex
  14.  
  15.         CCAALLLL ZZHHEERR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a,, _l_d_a))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      IRIX systems
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      These routines perform the following Hermitian rank 2 operation:
  22.                         _H                                   _H
  23.           _A  <- _a_l_p_h_a _x_y  + (complex conjugate of _a_l_p_h_a)* _y_x  + _A
  24.                                                               _H      _H
  25.      where _a_l_p_h_a is a scalar, _x and _y are _n-element vectors, _x  and _y
  26.      conjugate transposes of _x and _y, respectively, and _A is an _n-by-_n
  27.      Hermitian matrix.
  28.  
  29.      These routines have the following arguments:
  30.  
  31.      _u_p_l_o      Character*1.  (input)
  32.                Specifies whether the upper or lower triangular part of
  33.                array _a is referenced, as follows:
  34.  
  35.                _u_p_l_o= 'U' or 'u': only the upper triangular part of _a is
  36.                referenced.
  37.                _u_p_l_o= 'L' or 'l': only the lower triangular part of _a is
  38.                referenced.
  39.  
  40.      _n         Integer.  (input)
  41.                Specifies the order of matrix _A.  _n >= 0.
  42.  
  43.      _a_l_p_h_a     Scalar alpha.
  44.                CCHHEERR22: Complex.
  45.                ZZHHEERR22: Double complex.
  46.  
  47.      _x         Array of dimension 1+(_n-1) * |_i_n_c_x|.  (input)
  48.                CCHHEERR22: Complex array.
  49.                ZZHHEERR22: Double complex array.
  50.                Contains vector _x.
  51.  
  52.      _i_n_c_x      Integer.  (input)
  53.                Specifies the increment for the elements of _x.  _i_n_c_x must
  54.                not be 0.
  55.  
  56.      _y         Array of dimension 1+(_n-1) * |_i_n_c_y|.  (input)
  57.                CCHHEERR22: Complex array.
  58.                ZZHHEERR22: Double complex array.
  59.                Contains vector _y.
  60.  
  61.      _i_n_c_y      Integer.  (input)
  62.                Specifies the increment for the elements of _y.  _i_n_c_y must
  63.                not be 0.
  64.  
  65.      _a         Array of dimension (_l_d_a,_n).  (input and output)
  66.                CCHHEERR22: Complex array.
  67.                ZZHHEERR22: Double complex array.
  68.  
  69.                Before entry with _u_p_l_o = 'U' or 'u', the leading _n-by-_n
  70.                upper triangular part of array _a must contain the upper
  71.                triangular part of the Hermitian matrix.  The strictly lower
  72.                triangular part of _a is not referenced.  On exit, the upper
  73.                triangular part of the updated matrix overwrites the upper
  74.                triangular part of array _a.
  75.  
  76.                Before entry with _u_p_l_o = 'L' or 'l', the leading _n-by-_n
  77.                lower triangular part of array _a must contain the lower
  78.                triangular part of the Hermitian matrix.  The strictly upper
  79.                triangular part of _a is not referenced.  On exit, the lower
  80.                triangular part of the updated matrix overwrites the lower
  81.                triangular part of array _a.
  82.  
  83.                The imaginary parts of the diagonal elements need not be
  84.                set.  They are assumed to be 0; on exit, they are set to 0.
  85.  
  86.      _l_d_a       Integer.  (input)
  87.                Specifies the first dimension of _a as declared in the
  88.                calling program.  _l_d_a >= MMAAXX(1,_n).
  89.  
  90. NNOOTTEESS
  91.      CCHHEERR22/ZZHHEERR22 is a Level 2 Basic Linear Algebra Subprogram (Level 2
  92.      BLAS).
  93.  
  94.      When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), this routine starts at
  95.      the end of the vector and moves backward, as follows:
  96.  
  97.           _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)) , ..., _x(1)
  98.  
  99.           _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)) , ..., _y(1)
  100.  
  101. SSEEEE AALLSSOO
  102.      SSYYRR22(3F)
  103.  
  104.      This man page is available only online.
  105.